if (left(address(), 6) ~= "GOLDED") then /* not started by GoldEd ? */
address 'GOLDED.1'
'LOCK CURRENT RELEASE=4' /* lock GUI, gain access */
if (RC ~= 0) then
exit
options failat 6 /* ignore warnings */
signal on syntax /* ensure clean exit */
/* ------------------------- INSERT YOUR CODE HERE: -------------------- */
/* INPUTS: ACTION/K/A,CMODE/K (supported values for CMODE: SAS-C,VBCC,GCC,STORMC,GENERIC) */
parse upper arg ACTION CMODE .
if (ACTION = "") then
ACTION = "ASK"
if (CMODE = "") then
CMODE = "GENERIC"
'QUERY CAT'
if (RESULT = "deutsch") then do
STRING.sNOTINSTALLED = "Support für diesen Compiler wurde nicht|installiert:"
STRING.sCONFIGURATION = "C/C++-Umgebung"
STRING.sNEWPROJECT = "Neues Projekt"
STRING.sMENU = "Neues Projekt anlegen oder ein|bestehendes Verzeichnis mit C-Quelltexten|übernehmen und unter die Kontrolle von|GNU make stellen (makefile hinzufügen) ?"
STRING.sSELECTHELP = "Wählen Sie im folgenden Schritt die Quelltexte|aus, die zum Projekt gehören. Normalerweise sind|das alle Quelltexte im Verzeichnis (Kopf ALLE).||Hinweis: Zur Mehrfachauswahl die Umschalttaste|(SHIFT) beim Auswählen gedrückt halten !"
STRING.sSOURCES = "Quelltexte auswählen..."
STRING.sREQUIRED = "Es muss mindestens ein Quelltext in das|Projekt übernommen werden !"
STRING.sASSIMILATED = "Das Projekt wurde übernommen und unter|die Kontrolle von GNU make gestellt."
STRING.sSHOWMAKEFILE = "!Makefile zeigen|Beenden"
STRING.sCONFIGREADERR = "Kann Konfiguration nicht lesen !"
STRING.sCONFIGHELP = "Bevor das erste Projekt für Ihren Compiler*nerzeugt werden kann, müssen die compiler-*nspezifischen Einstellungen konfiguriert*nwerden.*n*nDie notwendigen Informationen finden Sie*nin der Dokumentation Ihres Compilers."
STRING.sCOMPILERFOLDER = "Geben Sie an, in welchem Verzeichnis*nsich die C/C++-Compilerumgebung befindet:"
STRING.sCOMPILERMISSING = "Compiler nicht gefunden !"
STRING.sSTDHEADER = "Geben Sie an, in welchem Verzeichnis sich die*nStandard-Header befinden (damit sind die mit*ndem Compiler gelieferten ISO-C-Header wie*nbeispielsweise <stdio.h> gemeint):"
STRING.sSTDHEADERMISSING = "Standard-Header nicht gefunden !"
STRING.sNDKHEADER = "Geben Sie an, in welchem Verzeichnis sich*ndie AmigaOS-Header befinden (die Angabe*nan dieser Stelle wird nur zum Verfolgen*nder Abhängigkeiten benutzt, nicht zum*nCompilieren):"
STRING.sNDKHEADERMNISSING = "AmigaOS3-Header nicht gefunden !"
STRING.sCOMPILE = "Geben Sie an, mit welcher Befehlszeile ein*nQuelltext in eine Objektdatei (**.o) über-*nsetzt werden kann.*n*nIn der Befehlszeile können die Platzhalter*n%%src (stellvertretend für Name des Quell-*ntextes) und %%obj (stellvertretend für Name*nder Objektdatei) verwendet werden."
STRING.sLINK = "Geben Sie an, mit welcher Befehlszeile die*nObjektdateien (**.o) zu einem ausführbaren*nProgramm gelinkt werden.*n*nIn der Befehlszeile können die Platzhalter*n%%objs (stellvertretend für die Namen der*nObjektdateien) und %%exe (stellvertretend*nfür den Namen des Programms) verwendet*nwerden."
STRING.sCONFIGSAVEERR = "Kann Konfiguration nicht speichern !"
STRING.sCONFIGCREATED1 = "Die Konfigurationsdatei für die C/C++-Umgebung"
STRING.sCONFIGCREATED2 = "wurde erzeugt."
STRING.sOKEDIT = "!Weiter|_Bearbeiten|Abbre_chen"
end
else do
STRING.sNOTINSTALLED = "Support für this compiler has not been|installed:"
STRING.sCONFIGURATION = "C/C++ mode"
STRING.sNEWPROJECT = "Create Project"
STRING.sMENU = "Create a new project or put source codes|in an existing folder unter control of|GNU make (by adding a makefile) ?"
STRING.sERROREXISTS = "A project with this name already exists !"
STRING.sOPTIONSERR = "Can not save compiler options !"
STRING.sEMPTYCREATED = "An empty project has been created."
STRING.sSHOW = "!Edit|Show _makefile|_Done"
STRING.sMAKEMAKEERROR = "Failed to generate a makefile !"
STRING.sTAKEOVER = "Add makefile here..."
STRING.sCONTROLLED = "This project folder is already controlled by|a makefile. Do you want to keep the existing|makefile or should it be replaced ?"
STRING.sKEEPREPLACE = "!Keep|_Replace|_Cancel"
STRING.sSELECTHELP = "In the next step you will select the source|codes that belong to this project. Typically|that includes all source codes in the project|folder (simply click the the ALL button in|that case).||Note: SHIFT-click to select multiple files !"
STRING.sSOURCES = "Select source codes..."
STRING.sREQUIRED = "You must specify at least one source|code as part of this project !"
STRING.sASSIMILATED = "The project has been put under GNU|makefile control."
STRING.sSHOWMAKEFILE = "!Show Makefile|_Done"
STRING.sCONFIGREADERR = "Can not read configuration !"
STRING.sCONFIGHELP = "Before the first project can be created*nfor your compiler setup, some compiler-*nspecific options must be configured.*n*nYou can find the information required for*nconfiguration in the documention of your*ncompiler."
STRING.sCONTINUE = "!Continue...|_Cancel"
STRING.sCONTINUECOMPILER = "!Continue with compiler selection|_Cancel"
STRING.sOTHER = "Other Compiler"
STRING.sCOMPILERFOLDER = "Where is your C/C++ development package located ?"
STRING.sCOMPILERMISSING = "Compiler not found !"
STRING.sSTDHEADER = "Specify where the standard header files are*nlocated on your computer (this refers to the*nISO C header files shipped with your compiler,*nfor example <stdio.h>):"
STRING.sSTDHEADERMISSING = "Header files not found !"
STRING.sNDKHEADER = "Specify where the AmigaOS header files*nare located on your computer (the*ninformation entered here is used to check*ndependencies, not for compilation):"
STRING.sNDKHEADERMNISSING = "AmigaOS3 header not found !"
STRING.sCOMPILE = "Specify the command line to be used for*ncompiling a source code into an object*nfile (**.o).*n*nThe command line specified here must be*nsuitable for appending (1) the object name*nand (2) the source code name in order to*ngenerate the compilation command.*n"
STRING.sLINK = "Specify the command line to be used for*nlinking a list of object files (*.o) into*nan executable.*n*nThe command line specified here must be*nsuitable for appending (1) the executable*nname and (2) the object names in order to*ngenerate the link command.*n"
STRING.sCONFIGSAVEERR = "Can not save configuration !"
STRING.sCONFIGCREATED1 = "Configuration file for C/C++ environment"